package lab14;

public class LivingRoom {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		IDVDRemoteController pesho = new SamsungDVDRemoteController();
		ITVDVDRemoteController gosho = new PhilipsRemoteController();
		pesho.insertDisc();
		pesho.play();
		pesho.stop();
		pesho.eject();
		gosho.eject();
		gosho.startTV();
		gosho.channelUp();
		gosho.goToChannel(42);
		gosho.stopTV();
		pesho=new SonyDVDRemoteController();
		pesho.insertDisc();
		pesho.play();
		pesho.stop();
		pesho.eject();
		pesho=gosho;
		pesho.stop();
	}

}
